/**
 * 
 */
package pagecode.pages.solicitudes;

import pagecode.PageCodeBase;
import com.stefanini.pe.bbva.iivs.in.model.solicitud.SolicitudModel;
import com.ibm.faces.component.html.HtmlScriptCollector;
import javax.faces.component.html.HtmlForm;
import com.ibm.faces.component.html.HtmlGraphicImageEx;

/**
 * @author OCORTEZ
 *
 */
public class FrmSolicitud1 extends PageCodeBase {
	protected SolicitudModel solicitudModel;
	protected HtmlScriptCollector scriptCollector1;
	protected HtmlForm form1;
	protected HtmlGraphicImageEx imgLogito;
	protected HtmlScriptCollector scriptCollector2;

	public SolicitudModel getSolicitudModel() {
		 if (solicitudModel == null) {
			 solicitudModel = (SolicitudModel) getFacesContext().getApplication().createValueBinding("#{solicitudModel}").getValue(getFacesContext());
	        }
		return solicitudModel;
	}

	public void setSolicitudModel(SolicitudModel solicitudModel) {
		this.solicitudModel = solicitudModel;
	}

	protected HtmlScriptCollector getScriptCollector1() {
		if (scriptCollector1 == null) {
			scriptCollector1 = (HtmlScriptCollector) findComponentInRoot("scriptCollector1");
		}
		return scriptCollector1;
	}

	protected HtmlForm getForm1() {
		if (form1 == null) {
			form1 = (HtmlForm) findComponentInRoot("form1");
		}
		return form1;
	}

	protected HtmlGraphicImageEx getImgLogito() {
		if (imgLogito == null) {
			imgLogito = (HtmlGraphicImageEx) findComponentInRoot("imgLogito");
		}
		return imgLogito;
	}

	protected HtmlScriptCollector getScriptCollector2() {
		if (scriptCollector2 == null) {
			scriptCollector2 = (HtmlScriptCollector) findComponentInRoot("scriptCollector2");
		}
		return scriptCollector2;
	}

}